package com.hrm.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class EmpScalesRating {
    private Integer scalesRatingId;

    private Integer employeeId;

    private Integer approverId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date submitTime;

    private String status;

    private Date lastEditTime;

    private String grade;

    private String evaluation;

    public Integer getScalesRatingId() {
        return scalesRatingId;
    }

    public void setScalesRatingId(Integer scalesRatingId) {
        this.scalesRatingId = scalesRatingId;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public Integer getApproverId() {
        return approverId;
    }

    public void setApproverId(Integer approverId) {
        this.approverId = approverId;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getLastEditTime() {
        return lastEditTime;
    }

    public void setLastEditTime(Date lastEditTime) {
        this.lastEditTime = lastEditTime;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade == null ? null : grade.trim();
    }

    public String getEvaluation() {
        return evaluation;
    }

    public void setEvaluation(String evaluation) {
        this.evaluation = evaluation == null ? null : evaluation.trim();
    }
}